package org.sdp.pearproject.service.custom;

import org.sdp.pearproject.config.ThreadLocalResponse;
import org.sdp.pearproject.dto.request.BaseRequest;
import org.sdp.pearproject.service.impl.*;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: IndexServiceCustomImpl
 * @Description: 
 * @Author: SDP
 * @Date: 2022-07-25
 * @Version: 1.0
 * Table: pear_organization
 * Comment:
 * 
 */
public class IndexServiceCustomImpl extends IndexServiceSuperImpl {

    @Autowired
    ThreadLocalResponse threadLocalResponse;

    @Override
    public List<Object> indexCheckInstall(BaseRequest request) throws Exception {
        threadLocalResponse.set("without_total", 1);
        threadLocalResponse.set("code", 200);
        return new ArrayList<>();
    }
}
